package hottargui.domain.blitz;

import hottargui.domain.*;

public class BlitzMoveToBuyStrategyImpl implements MoveToBuyStrategy {

	private int counter;

	BlitzMoveToBuyStrategyImpl() {
		counter = 0;
	}


	public State getNewStateAfterMove(int dicevalue) {

		if (dicevalue == 6 && counter <= 1) {
			counter++;
			return State.move;
		}	 
		else {
			counter = 0;
			return State.buy;
		}	 
	}


}
